<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 注释同css ctrl+/
        alert('你好') //网页弹窗不点确定会中断代码执行

        console.log('hello');  //在控制台打印括号内容hello

        prompt('请输入密码')  //录入内容的弹窗也会中断代码执行

        console.log('world')  //控制台会显示行数
        </script>
</body>
</html>